home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / pm_ps_bs.arc / PM-PS-BS.DOC < prev    next >
Text File  |  1987-01-30  |  5KB  |  69 lines

  1.      {--------------------------------------------------------------}      
  2.      {                     BREAK-PM                                 }      
  3.      {                                                              }      
  4.      {        PRINTMASTER,PRINT SHOP,BASICA GRAPHIC CONVERTER       }      
  5.      {                                                              }      
  6.      {    Input: *.SDR or *.NAM  [ Names of Shape ]                 }      
  7.      {           *.SHP or *.DAT  [ Shape file ]                     }      
  8.      {   Output: "shape".BSG     [BASIC file]                       }      
  9.      {--------------------------------------------------------------}      
  10.                                                                            
  11.          This program will convert a PRINTMASTER graphic file into a       
  12.        PRINT SHOP graphic file, or PRINT SHOP to PRINTMASTER. It will      
  13.        also break up either one and convert them to BASICA graphic         
  14.        arrays.                                                             
  15.                                                                            
  16.           Printmaster graphic files consist of 2 seperate files. A         
  17.        'name file' with the extension of .SDR and a 'graphic file'         
  18.        with the extension of .SHP .                                        
  19.                                                                            
  20.           The name file is an ASCII text file containing the names         
  21.        for each graphic in the shape file. A name consists of a            
  22.        record with the length of 16 bytes. If a name is less then 16       
  23.        bytes, the unused positions are filled with nuls ($00).             
  24.                                                                            
  25.           Printmaster graphics are 88 dots wide by 52 dots high. They      
  26.        are stored in a binary file one after anouther. This takes up       
  27.        572 bytes. Added to this are four bytes at the start of each        
  28.        graphic and one byte at the end (or between each graphic) for       
  29.        a total of 576 bytes per graphic. The first 4 bytes consist of      
  30.        $0B (width in bytes of graphic), $34 (54 bits high), $58 (width     
  31.        in bits) and $00 (nul byte). The last byte between graphics is      
  32.        also a $00.                                                         
  33.                                                                            
  34.           Print Shop's 'name file' is exactly the same as Printmaster's    
  35.        but with the extension of .NAM . The Print Shop graphic file has    
  36.        the extension of .DAT and is the same format as a .SHP file with    
  37.        exceptions. The four bytes before each graphic and the last byte    
  38.        between graphics is missing. In order for Print Shop to "see"       
  39.        the files the filename must start with "GR". The program will add   
  40.        "GR" to the front of the file name and chop off the end if greater- 
  41.        than 8 characters. ie: the PRINTMASTER file STANDARD.SHP would      
  42.        convert to a PRINT SHOP file GRSTANDA.DAT.                          
  43.                                                                            
  44.           The BASICA format for the graphic is an array with the first     
  45.        two bytes the width of the graphic in bits ($58,$00). The second    
  46.        two bytes is the highth in bits ($34,$00). The rest of the array    
  47.        is the graphic. This file can be used in BASIC program with the     
  48.        PUT command. To use the graphic in FONTASY use the load block       
  49.        function.                                                           
  50.                                                                            
  51.           To use the program just run PM-PS-BS.COM and the startup menu
  52.        will begin. Select which conversion. The conversion screen will
  53.        then appear. Enter the filename (no .EXT) and the program will
  54.        start. If you wish to stop before all files are converted just hit
  55.        any key and the program will stop after finishing the current 
  56.        graphic. After the conversion is finished you will be returned to
  57.        the start-up menu.  
  58.              
  59.                 This software is placed into the public domain by:         
  60.                                                                            
  61.                               John Paul Michalski                          
  62.                           Infinity Engineering Services                    
  63.                               322 W. Palomino Dr.                          
  64.                               Chandler, AZ   85224                         
  65.                                                                            
  66.                               J.MICHALSKI on GEnie
  67.  
  68.  
  69.